Home:ALL Converter>Oracle ALTER [OBJECT_NAME] VS CREATE OR REPLACE [OBJECT]

Oracle ALTER [OBJECT_NAME] VS CREATE OR REPLACE [OBJECT]

Ask Time:2022-08-12T19:53:06         Author:Jonas Bikus

Json Formatter

I am confusing with Oracle some objects I do modify with ALTER [OBJECT_NAME] while others with CREATE OR REPLACE [OBJECT]
some examples:
ALTER TABLE but no CREATE OR REPLACE?
ALTER VIEW vs CREATE OR REPLACE VIEW?
Why we can CREATE OR REPLACE VIEW but can't CREATE OR REPLACE SEQUENCE?

what are differences? when to use ALTER or when CREATE OR REPLACE (for instance for view) can't find any good explanation on documentation.

Author:Jonas Bikus,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/73333755/oracle-alter-object-name-vs-create-or-replace-object
yy